﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using V2TEK.NET.SH.Silverlight.Charts.Core;

namespace V2TEK.NET.SH.Silverlight.Charts.TimeLineHelper
{
    public class TimeLineLayoutItem : ICloneable<TimeLineLayoutItem>
    {
        public IDateTimeDescriptor Data { get; set; }
        public double Height { get; set; }
        public double Width { get; set; }
        public double X { get; set; }
        public double Y { get; set; }

        #region ICloneable<TimeLineLayoutItem> Members

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public TimeLineLayoutItem Clone()
        {
            TimeLineLayoutItem item = new TimeLineLayoutItem();
            item.X = this.X;
            item.Y = this.Y;
            item.Height = this.Height;
            item.Width = this.Width;
            item.Data = this.Data.Clone();
            return item;
        }

        #endregion
    }
}
